projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d64582
)
Add a note about GDK_AXIS_X/Y
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 9 Apr 2016 21:35:58 +0000
(17:35 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 9 Apr 2016 21:38:03 +0000
(17:38 -0400)
These axes mmay or may not be present, best to ignore them.
gdk/gdktypes.h
patch
|
blob
|
history
diff --git
a/gdk/gdktypes.h
b/gdk/gdktypes.h
index 690cc499e13ec7a8a9b62d88e4a885f7e326eab6..7c4a2bb0087632d001247b6c14af6713a06d9130 100644
(file)
--- a/
gdk/gdktypes.h
+++ b/
gdk/gdktypes.h
@@
-546,6
+546,10
@@
typedef enum
* An enumeration describing the way in which a device
* axis (valuator) maps onto the predefined valuator
* types that GTK+ understands.
+ *
+ * Note that the X and Y axes are not really needed; pointer devices
+ * report their location via the x/y members of events regardless. Whether
+ * X and Y are present as axes depends on the GDK backend.
*/
typedef enum
{